﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class Seller
    {
        private int id;
        private string shopName;
        private string shopUrl;
        private string userName;
        private string pwd;
        private int type;
        private DateTime addTime;
        private DateTime lastLoginTime;
        private string tel;
        private string email;
        private string aliww;
        private string nickname;


        /// <summary>
        /// 自增ID
        /// </summary>
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        /// <summary>
        /// 店铺名称
        /// </summary>
        public string ShopName
        {
            get { return shopName; }
            set { shopName = value; }
        }
        /// <summary>
        /// 店铺地址
        /// </summary>
        public string ShopUrl
        {
            get { return shopUrl; }
            set { shopUrl = value; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName
        {
            get { return nickname; }
            set { nickname = value; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd
        {
            get { return pwd; }
            set { pwd = value; }
        }
        /// <summary>
        /// 类型，用来区别是淘宝卖家还是档口 0-档口，1-卖家
        /// </summary>
        public int Type
        {
            get { return type; }
            set { type = value; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime
        {
            get { return addTime; }
            set { addTime = value; }
        }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime LastLoginTime
        {
            get { return lastLoginTime; }
            set { lastLoginTime = value; }
        }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string Tel
        {
            get { return tel; }
            set { tel = value; }
        }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        /// <summary>
        /// 阿里旺旺
        /// </summary>
        public string Aliww
        {
            get { return aliww; }
            set { aliww = value; }
        }
    }
}
